
import java.io.File;
import javax.swing.filechooser.FileFilter;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Tomasz
 */
    public class xmlFilter extends FileFilter{
    @Override
public boolean accept(File f){
    return f.getName().toLowerCase().endsWith(".xml")||f.isDirectory();
}
    @Override
    public String getDescription(){
        return "xml files (*.xml)";
    }
}
